
local event = class("event")

function event:ctor(user,type,priority,message)
	self.user = user
	self.type = type
	self.priority = priority
	self.message = message
	self.confirm = false
end

function event:is_confirm()
	return self.confirm
end

return event
-- local E = {}
-- function E.new()
-- 	return setmetatable({},{__index = event})
-- end

-- return E
